import React, { Component, PropTypes } from 'react'
import { Icon } from 'antd-mobile'
import { SingleLine } from '../common'

export default class CentificationStepThree extends Component {
  render() {
    const { goBack } = this.props
    return (
      <div className={`rt-submit-success-box`}>
        <Icon type="check-circle" />
        <div>提交成功</div>
        <div>请等待工作日人员认证通过</div>

        <SingleLine left="姓名" right={<span>张大宝</span>} />
        <SingleLine left="身份证号" right={<span>310103198808880001</span>} />

        <div className={`cm-main-btn cm-margin-top`} onClick={goBack}>返  回</div>
      </div>
    )
  }
}

CentificationStepThree.propTypes = {
  goBack: PropTypes.func.isRequired,
}